ELEX\PPCT\SettingsController D

Total Complexity 206
Dependencies 1
Dependents 1
Total lines 870
Lines of code 640
Logical lines of code 426
Comment lines 53
Methods 30
Properties 1

Methods 30

Method Rating Maintainability Complexity Lines of code
elex_ppct_display_price()
D
30 43 98
elex_ppct_display_price_cart()
C
35 32 71
save_general()
A
52 15 20
elex_ppct_discount_product()
A
45 13 39
load_general()
A
52 13 20
init()
A
46 11 33
load_categories()
A
42 9 60
elex_plugin_active()
A
42 7 53
get_price_before_text_html()
S
58 7 13
get_price_after_text_html()
S
58 7 13
load_products_by_tags()
S
48 5 36
elex_ppct_get_price_to_display()
S
59 6 15
load_settings_data()
S
49 4 32
get_user_roles()
S
55 4 20
elex_ppct_discount()
S
64 5 9
get_active_tab()
S
66 5 7
load_view()
S
60 2 13
search_user_role()
S
69 2 6
show_saved_toast()
S
72 2 5
search_products_by_tag()
S
69 2 6
search_products_by_category()
S
69 2 6
search_products_by_name()
S
69 2 6
get_menus()
S
62 1 13
elex_ppct_base_price()
S
61 1 12
elex_ppct_return_wpml_string()
S
62 1 11
load_customization()
S
73 1 5
get_settings()
S
70 1 6
elex_ppct_load_plugin_textdomain()
S
77 1 3
get_default_tab()
S
79 1 3
save_customization()
S
70 1 6